package ais.mantianx.controller;

import org.springframework.stereotype.Controller;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.ResponseBody;

/**
 * @author starrysky
 * @title: InterceptorController
 * @projectName springMvc_Parent
 * @description: 控制层
 * @date 2021/2/618:57
 */
@Controller
public class InterceptorController {
    @GetMapping("/hello")
    @ResponseBody
    public String hello(){
        System.out.println("=======Controller运行");
        return "hello~~~";
    }
}
